package com.dimples.dd.system.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "机构视图对象")
@Data
public class OrgBO {

    @Schema(description="机构主键")
    private String orgId;

    @Schema(description="机构名称")
    private String orgName;

    @Schema(description="机构code")
    private String orgCode;

    @Schema(description="联系人邮箱")
    private String email;

    @Schema(description="联系人地址")
    private String address;

    @Schema(description="联系人电话")
    private String phone;

    @Schema(description="联系人")
    private String linkMan;

    @Schema(description="申请状态")
    private Byte applyStatus;

    @Schema(description="上级机构")
    private String parentId;

    @Schema(description="上级机构集合")
    private String parentIds;

    @Schema(description="地区名称")
    private String region;

    @Schema(description="地区编码")
    private String regionCode;

    @Schema(description="机构logo")
    private String orgImg;

    @Schema(description="社会信用代码")
    private String socialCode;

    @Schema(description="行政区划代码-省")
    private String province;

    @Schema(description="行政区划代码-市/区")
    private String city;

    @Schema(description="行政区划代码-县/区")
    private String county;

    @Schema(description="助产标识0否1是")
    private Byte deliverMark;

    @Schema(description="监管标识0否1是")
    private Byte superviseMark;

    @Schema(description="救治中心标识0否1是")
    private Byte cureMark;

    @Schema(description="档案关联标识0否1是")
    private Byte archivesMark;

    @Schema(description="机构类型（0—卫健委；1—公立医院；2—私立医院；3—医联体；4—集团医院；5—第三方影像中心；99—其他；这些数据在数据字典内容信息中维护）")
    private Integer orgClass;

    @Schema(description="机构等级（1—一级；2—二级；3—3级；）")
    private Byte orgLevel;

    @Schema(description="排序")
    private Integer orderNum;

    @Schema(description="状态（默认0—正常；1—停用）")
    private Byte status;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
